<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Mapache: Referencia de la Clase ProcesadorCGI</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generado por Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "../../search",false,'Buscar');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../Mapache.png"></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Mapache&#160;<span id="projectnumber">v1.0.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Página&#160;principal</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>Clases</span></a></li>
      <li><a href="../../files.html"><span>Archivos</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>Lista&#160;de&#160;clases</span></a></li>
      <li><a href="../../classes.html"><span>Índice&#160;de&#160;clases</span></a></li>
      <li><a href="../../inherits.html"><span>Jerarquía&#160;de&#160;la&#160;clase</span></a></li>
      <li><a href="../../functions.html"><span>Miembros&#160;de&#160;las&#160;clases</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('d8/d70/classProcesadorCGI.html','../../');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Métodos públicos</a> &#124;
<a href="#pri-methods">Métodos privados</a> &#124;
<a href="#pri-attribs">Atributos privados</a>  </div>
  <div class="headertitle">
<h1>Referencia de la Clase ProcesadorCGI</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="ProcesadorCGI" --><!-- doxytag: inherits="IProcesador" -->
<p><code>#include &lt;ProcesadorCGI.h&gt;</code></p>
<div class="dynheader">
Diagrama de herencias de ProcesadorCGI</div>
<div class="dyncontent">
<div class="center"><img src="../../d3/df3/classProcesadorCGI__inherit__graph.png" border="0" usemap="#ProcesadorCGI_inherit__map" alt="Inheritance graph"/></div>
<map name="ProcesadorCGI_inherit__map" id="ProcesadorCGI_inherit__map">
<area shape="rect" id="node2" href="../../d8/da5/classIProcesador.html" title="IProcesador" alt="" coords="16,5,107,35"/></map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">significado de colores y flechas</a>]</span></center></div>
<div class="dynheader">
Diagrama de colaboración para ProcesadorCGI:</div>
<div class="dyncontent">
<div class="center"><img src="../../d1/d25/classProcesadorCGI__coll__graph.png" border="0" usemap="#ProcesadorCGI_coll__map" alt="Collaboration graph"/></div>
<map name="ProcesadorCGI_coll__map" id="ProcesadorCGI_coll__map">
<area shape="rect" id="node2" href="../../d8/da5/classIProcesador.html" title="IProcesador" alt="" coords="5,229,96,259"/><area shape="rect" id="node4" href="../../de/dcb/classConfiguracion.html" title="Configuracion" alt="" coords="191,229,292,259"/><area shape="rect" id="node6" href="../../d6/d3c/classConfiguracionBasica.html" title="ConfiguracionBasica" alt="" coords="171,117,312,147"/><area shape="rect" id="node10" href="../../d9/df9/classConfiguracionLogs.html" title="ConfiguracionLogs" alt="" coords="336,117,467,147"/></map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">significado de colores y flechas</a>]</span></center></div>

<p><a href="../../d5/d74/classProcesadorCGI-members.html">Lista de todos los miembros.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Métodos públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d70/classProcesadorCGI.html#a48f0c01921dc6be62558a707766fe7ca">ProcesadorCGI</a> (const <a class="el" href="../../de/dcb/classConfiguracion.html">Configuracion</a> &amp;<a class="el" href="../../d8/d70/classProcesadorCGI.html#a9b868bc2b2d173f0072e43429cad1387">config</a>, const std::string &amp;ruta, const std::string &amp;rutaCgi)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d70/classProcesadorCGI.html#a4e74496fd4d21c6c4b887037849a71a3">~ProcesadorCGI</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dd/d27/classHTTP__Response.html">HTTP_Response</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d70/classProcesadorCGI.html#a60d1d3622917a8e2b58ccd64976ce90f">procesarCGI</a> (<a class="el" href="../../de/d2b/classHTTP__Request.html">HTTP_Request</a> *request, string <a class="el" href="../../d8/d70/classProcesadorCGI.html#afa48c81a8c64776c7eb911d3edf6a30c">rutaCGI</a>, const string &amp;pathAbsoluto, string dirArchivosDeSalida)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dd/d27/classHTTP__Response.html">HTTP_Response</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d70/classProcesadorCGI.html#a19c3db20152716faecffcf03d9940ea8">procesar</a> (<a class="el" href="../../de/d2b/classHTTP__Request.html">HTTP_Request</a> *pedido)</td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Métodos privados</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dd/d27/classHTTP__Response.html">HTTP_Response</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d70/classProcesadorCGI.html#a3a5bba2253625feefb897b30e6aac0d3">setResponse</a> (const char *rutaCompletaArchSalida)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d70/classProcesadorCGI.html#a5c1d4d0849ce9b15fdd77385a186fe5d">removerArchivosYDirectoriosTemporales</a> (const string rutaArchEntrada, const string rutaArchSalida, const string directorioCGI)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d70/classProcesadorCGI.html#a905f93ae99d3f573b77598513c5c3daf">crearDirectorioTemporalParaElCGI</a> (int *nroCarpeta)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d70/classProcesadorCGI.html#a8fd3259b4cc30e633732d9b1acfa6971">crearArchivoTemporalParaSTDIN</a> (const string &amp;rutaCompletaArchEntradaTemp, const string &amp;contenidoDeRequest)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d70/classProcesadorCGI.html#a30c590825f5bf48e759829c52b7b4ec5">prepararComandoDeTerminal</a> (const string <a class="el" href="../../d8/d70/classProcesadorCGI.html#afa48c81a8c64776c7eb911d3edf6a30c">rutaCGI</a>, const string &amp;uri, string &amp;comando, const string &amp;nombreEntradaTemp, const string &amp;nombreSalidaTemp, const string &amp;dirArchivosGeneradosPorCGI)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d70/classProcesadorCGI.html#ae8059833f03e271777fc87b8e690da55">setVariableContentLenght</a> (int valor)</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Atributos privados</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d70/classProcesadorCGI.html#a4f2fd2a65da9c79a16f76776988e810c">dir</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d70/classProcesadorCGI.html#afa48c81a8c64776c7eb911d3edf6a30c">rutaCGI</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="../../de/dcb/classConfiguracion.html">Configuracion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d70/classProcesadorCGI.html#a9b868bc2b2d173f0072e43429cad1387">config</a></td></tr>
</table>
<hr/><h2>Documentación del constructor y destructor</h2>
<a class="anchor" id="a48f0c01921dc6be62558a707766fe7ca"></a><!-- doxytag: member="ProcesadorCGI::ProcesadorCGI" ref="a48f0c01921dc6be62558a707766fe7ca" args="(const Configuracion &amp;config, const std::string &amp;ruta, const std::string &amp;rutaCgi)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ProcesadorCGI::ProcesadorCGI </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../de/dcb/classConfiguracion.html">Configuracion</a> &amp;&#160;</td>
          <td class="paramname"><em>config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>ruta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>rutaCgi</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4e74496fd4d21c6c4b887037849a71a3"></a><!-- doxytag: member="ProcesadorCGI::~ProcesadorCGI" ref="a4e74496fd4d21c6c4b887037849a71a3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ProcesadorCGI::~ProcesadorCGI </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Documentación de las funciones miembro</h2>
<a class="anchor" id="a8fd3259b4cc30e633732d9b1acfa6971"></a><!-- doxytag: member="ProcesadorCGI::crearArchivoTemporalParaSTDIN" ref="a8fd3259b4cc30e633732d9b1acfa6971" args="(const string &amp;rutaCompletaArchEntradaTemp, const string &amp;contenidoDeRequest)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ProcesadorCGI::crearArchivoTemporalParaSTDIN </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>rutaCompletaArchEntradaTemp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>contenidoDeRequest</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a905f93ae99d3f573b77598513c5c3daf"></a><!-- doxytag: member="ProcesadorCGI::crearDirectorioTemporalParaElCGI" ref="a905f93ae99d3f573b77598513c5c3daf" args="(int *nroCarpeta)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string ProcesadorCGI::crearDirectorioTemporalParaElCGI </td>
          <td>(</td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>nroCarpeta</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a30c590825f5bf48e759829c52b7b4ec5"></a><!-- doxytag: member="ProcesadorCGI::prepararComandoDeTerminal" ref="a30c590825f5bf48e759829c52b7b4ec5" args="(const string rutaCGI, const string &amp;uri, string &amp;comando, const string &amp;nombreEntradaTemp, const string &amp;nombreSalidaTemp, const string &amp;dirArchivosGeneradosPorCGI)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ProcesadorCGI::prepararComandoDeTerminal </td>
          <td>(</td>
          <td class="paramtype">const string&#160;</td>
          <td class="paramname"><em>rutaCGI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>uri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string &amp;&#160;</td>
          <td class="paramname"><em>comando</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>nombreEntradaTemp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>nombreSalidaTemp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>dirArchivosGeneradosPorCGI</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a19c3db20152716faecffcf03d9940ea8"></a><!-- doxytag: member="ProcesadorCGI::procesar" ref="a19c3db20152716faecffcf03d9940ea8" args="(HTTP_Request *pedido)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dd/d27/classHTTP__Response.html">HTTP_Response</a> * ProcesadorCGI::procesar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../de/d2b/classHTTP__Request.html">HTTP_Request</a> *&#160;</td>
          <td class="paramname"><em>pedido</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Metodo abstracto puro que deben implementar todas los procesadores que se implementen. </p>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pedido</td><td>es el pedido a procesar </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>es la respuesta generada por el pedido </dd></dl>

<p>Implementa <a class="el" href="../../d8/da5/classIProcesador.html#a4654248a035b253300c5e5d432cbb172">IProcesador</a>.</p>

<p><div class="dynheader">
Gráfico de llamadas para esta función:</div>
<div class="dyncontent">
<div class="center"><img src="../../d8/d70/classProcesadorCGI_a19c3db20152716faecffcf03d9940ea8_cgraph.png" border="0" usemap="#d8/d70/classProcesadorCGI_a19c3db20152716faecffcf03d9940ea8_cgraph" alt=""/></div>
<map name="d8/d70/classProcesadorCGI_a19c3db20152716faecffcf03d9940ea8_cgraph" id="d8/d70/classProcesadorCGI_a19c3db20152716faecffcf03d9940ea8_cgraph">
<area shape="rect" id="node3" href="../../de/dcb/classConfiguracion.html#a20fb9b7ad266b7dbc3ed1d383890917d" title="Configuracion::getConfiguracionBasica" alt="" coords="224,76,472,106"/><area shape="rect" id="node5" href="../../d6/d3c/classConfiguracionBasica.html#a547e6d107496496a27dadc3bd967cb00" title="ConfiguracionBasica::getRaiz" alt="" coords="251,130,445,159"/><area shape="rect" id="node7" href="../../de/d2b/classHTTP__Request.html#aa038b359f8dce92dee671ba2d63cf314" title="HTTP_Request::getUri" alt="" coords="271,183,425,212"/><area shape="rect" id="node11" href="../../d8/d70/classProcesadorCGI.html#a60d1d3622917a8e2b58ccd64976ce90f" title="ProcesadorCGI::procesarCGI" alt="" coords="251,395,445,424"/><area shape="rect" id="node9" href="../../de/d2b/classHTTP__Request.html#ae4a09b71edc84e350e6ecc61724ad50d" title="HTTP_Request::getValor" alt="" coords="972,50,1140,79"/><area shape="rect" id="node13" href="../../d8/d70/classProcesadorCGI.html#a8fd3259b4cc30e633732d9b1acfa6971" title="ProcesadorCGI::crearArchivoTemporalParaSTDIN" alt="" coords="543,288,857,318"/><area shape="rect" id="node15" href="../../de/dcb/classConfiguracion.html#a6bfe50767113104ee094081d9efb7024" title="Configuracion::getConfiguracionLogs" alt="" coords="583,342,817,371"/><area shape="rect" id="node17" href="../../de/d2b/classHTTP__Request.html#a064d09e4f9f998b4a72c02443fde2072" title="HTTP_Request::getContenido" alt="" coords="601,395,799,424"/><area shape="rect" id="node19" href="../../de/d2b/classHTTP__Request.html#a2316c4b768e27fbb40238f86e7a20ba7" title="HTTP_Request::getContentLength" alt="" coords="588,75,812,104"/><area shape="rect" id="node22" href="../../de/dcb/classConfiguracion.html#ace59ea8e88827d901d2a92083230bd32" title="Configuracion::getError" alt="" coords="623,448,777,478"/><area shape="rect" id="node24" href="../../d6/da5/classManejadorLogs.html#afe44c6231459918a17ea7616bb058438" title="ManejadorLogs::getInstance" alt="" coords="607,502,793,531"/><area shape="rect" id="node32" href="../../d3/da4/classCargardorDeArchivos.html#adcf0834c42d819b6348f5c4410e670fe" title="CargardorDeArchivos::levantarArchivo" alt="" coords="933,555,1179,584"/><area shape="rect" id="node34" href="../../d8/d70/classProcesadorCGI.html#a30c590825f5bf48e759829c52b7b4ec5" title="ProcesadorCGI::prepararComandoDeTerminal" alt="" coords="555,760,845,790"/><area shape="rect" id="node36" href="../../d8/d70/classProcesadorCGI.html#a5c1d4d0849ce9b15fdd77385a186fe5d" title="ProcesadorCGI::removerArchivosYDirectoriosTemporales" alt="" coords="521,128,879,158"/><area shape="rect" id="node38" href="../../dd/d27/classHTTP__Response.html#aba358f181591da08c665245958b4f3a1" title="HTTP_Response::setCodigoRetorno" alt="" coords="583,182,817,211"/><area shape="rect" id="node40" href="../../dd/d27/classHTTP__Response.html#a112f91fd5f8943b098dc4dfbdbb044f6" title="HTTP_Response::setContenido" alt="" coords="952,608,1160,638"/><area shape="rect" id="node42" href="../../d8/dea/classHTTP__Message.html#a1296fe3e16e88dd62d2b464a7e5e4994" title="HTTP_Message::setProtocolo" alt="" coords="957,715,1155,744"/><area shape="rect" id="node44" href="../../d8/d70/classProcesadorCGI.html#a3a5bba2253625feefb897b30e6aac0d3" title="ProcesadorCGI::setResponse" alt="" coords="601,656,799,686"/><area shape="rect" id="node51" href="../../d8/d70/classProcesadorCGI.html#ae8059833f03e271777fc87b8e690da55" title="ProcesadorCGI::setVariableContentLenght" alt="" coords="565,235,835,264"/><area shape="rect" id="node26" href="../../d9/df9/classConfiguracionLogs.html#ae9d0e3f38d4cac9d58438688a60cc9d3" title="ConfiguracionLogs::getRutaLogAccesos" alt="" coords="928,395,1184,424"/><area shape="rect" id="node28" href="../../d9/df9/classConfiguracionLogs.html#a7ff0d702e1995d4c4324b4d28fe57a7f" title="ConfiguracionLogs::getRutaLogErrores" alt="" coords="933,448,1179,478"/><area shape="rect" id="node30" href="../../d6/da5/classManejadorLogs.html#aa01541b63a00a931464d46d07782b4b8" title="ManejadorLogs::ManejadorLogs" alt="" coords="953,502,1159,531"/><area shape="rect" id="node49" href="../../dd/d27/classHTTP__Response.html#a1c2c8086703ccb9bfd62d4fa8d7babec" title="HTTP_Response::setTipoContenido" alt="" coords="940,662,1172,691"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a60d1d3622917a8e2b58ccd64976ce90f"></a><!-- doxytag: member="ProcesadorCGI::procesarCGI" ref="a60d1d3622917a8e2b58ccd64976ce90f" args="(HTTP_Request *request, string rutaCGI, const string &amp;pathAbsoluto, string dirArchivosDeSalida)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dd/d27/classHTTP__Response.html">HTTP_Response</a> * ProcesadorCGI::procesarCGI </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../de/d2b/classHTTP__Request.html">HTTP_Request</a> *&#160;</td>
          <td class="paramname"><em>request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>rutaCGI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>pathAbsoluto</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>dirArchivosDeSalida</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><div class="dynheader">
Gráfico de llamadas para esta función:</div>
<div class="dyncontent">
<div class="center"><img src="../../d8/d70/classProcesadorCGI_a60d1d3622917a8e2b58ccd64976ce90f_cgraph.png" border="0" usemap="#d8/d70/classProcesadorCGI_a60d1d3622917a8e2b58ccd64976ce90f_cgraph" alt=""/></div>
<map name="d8/d70/classProcesadorCGI_a60d1d3622917a8e2b58ccd64976ce90f_cgraph" id="d8/d70/classProcesadorCGI_a60d1d3622917a8e2b58ccd64976ce90f_cgraph">
<area shape="rect" id="node3" href="../../d8/d70/classProcesadorCGI.html#a8fd3259b4cc30e633732d9b1acfa6971" title="ProcesadorCGI::crearArchivoTemporalParaSTDIN" alt="" coords="271,5,585,35"/><area shape="rect" id="node5" href="../../de/dcb/classConfiguracion.html#a6bfe50767113104ee094081d9efb7024" title="Configuracion::getConfiguracionLogs" alt="" coords="311,59,545,88"/><area shape="rect" id="node7" href="../../de/d2b/classHTTP__Request.html#a064d09e4f9f998b4a72c02443fde2072" title="HTTP_Request::getContenido" alt="" coords="329,112,527,141"/><area shape="rect" id="node9" href="../../de/d2b/classHTTP__Request.html#a2316c4b768e27fbb40238f86e7a20ba7" title="HTTP_Request::getContentLength" alt="" coords="316,165,540,195"/><area shape="rect" id="node13" href="../../de/dcb/classConfiguracion.html#ace59ea8e88827d901d2a92083230bd32" title="Configuracion::getError" alt="" coords="351,219,505,248"/><area shape="rect" id="node15" href="../../d6/da5/classManejadorLogs.html#afe44c6231459918a17ea7616bb058438" title="ManejadorLogs::getInstance" alt="" coords="335,272,521,301"/><area shape="rect" id="node23" href="../../d3/da4/classCargardorDeArchivos.html#adcf0834c42d819b6348f5c4410e670fe" title="CargardorDeArchivos::levantarArchivo" alt="" coords="661,325,907,355"/><area shape="rect" id="node25" href="../../d8/d70/classProcesadorCGI.html#a30c590825f5bf48e759829c52b7b4ec5" title="ProcesadorCGI::prepararComandoDeTerminal" alt="" coords="283,531,573,560"/><area shape="rect" id="node27" href="../../d8/d70/classProcesadorCGI.html#a5c1d4d0849ce9b15fdd77385a186fe5d" title="ProcesadorCGI::removerArchivosYDirectoriosTemporales" alt="" coords="249,584,607,613"/><area shape="rect" id="node29" href="../../dd/d27/classHTTP__Response.html#aba358f181591da08c665245958b4f3a1" title="HTTP_Response::setCodigoRetorno" alt="" coords="311,637,545,667"/><area shape="rect" id="node31" href="../../dd/d27/classHTTP__Response.html#a112f91fd5f8943b098dc4dfbdbb044f6" title="HTTP_Response::setContenido" alt="" coords="680,379,888,408"/><area shape="rect" id="node33" href="../../d8/dea/classHTTP__Message.html#a1296fe3e16e88dd62d2b464a7e5e4994" title="HTTP_Message::setProtocolo" alt="" coords="685,485,883,515"/><area shape="rect" id="node35" href="../../d8/d70/classProcesadorCGI.html#a3a5bba2253625feefb897b30e6aac0d3" title="ProcesadorCGI::setResponse" alt="" coords="329,427,527,456"/><area shape="rect" id="node42" href="../../d8/d70/classProcesadorCGI.html#ae8059833f03e271777fc87b8e690da55" title="ProcesadorCGI::setVariableContentLenght" alt="" coords="293,691,563,720"/><area shape="rect" id="node11" href="../../de/d2b/classHTTP__Request.html#ae4a09b71edc84e350e6ecc61724ad50d" title="HTTP_Request::getValor" alt="" coords="700,112,868,141"/><area shape="rect" id="node17" href="../../d9/df9/classConfiguracionLogs.html#ae9d0e3f38d4cac9d58438688a60cc9d3" title="ConfiguracionLogs::getRutaLogAccesos" alt="" coords="656,165,912,195"/><area shape="rect" id="node19" href="../../d9/df9/classConfiguracionLogs.html#a7ff0d702e1995d4c4324b4d28fe57a7f" title="ConfiguracionLogs::getRutaLogErrores" alt="" coords="661,219,907,248"/><area shape="rect" id="node21" href="../../d6/da5/classManejadorLogs.html#aa01541b63a00a931464d46d07782b4b8" title="ManejadorLogs::ManejadorLogs" alt="" coords="681,272,887,301"/><area shape="rect" id="node40" href="../../dd/d27/classHTTP__Response.html#a1c2c8086703ccb9bfd62d4fa8d7babec" title="HTTP_Response::setTipoContenido" alt="" coords="668,432,900,461"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a5c1d4d0849ce9b15fdd77385a186fe5d"></a><!-- doxytag: member="ProcesadorCGI::removerArchivosYDirectoriosTemporales" ref="a5c1d4d0849ce9b15fdd77385a186fe5d" args="(const string rutaArchEntrada, const string rutaArchSalida, const string directorioCGI)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ProcesadorCGI::removerArchivosYDirectoriosTemporales </td>
          <td>(</td>
          <td class="paramtype">const string&#160;</td>
          <td class="paramname"><em>rutaArchEntrada</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string&#160;</td>
          <td class="paramname"><em>rutaArchSalida</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string&#160;</td>
          <td class="paramname"><em>directorioCGI</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3a5bba2253625feefb897b30e6aac0d3"></a><!-- doxytag: member="ProcesadorCGI::setResponse" ref="a3a5bba2253625feefb897b30e6aac0d3" args="(const char *rutaCompletaArchSalida)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dd/d27/classHTTP__Response.html">HTTP_Response</a> * ProcesadorCGI::setResponse </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>rutaCompletaArchSalida</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><div class="dynheader">
Gráfico de llamadas para esta función:</div>
<div class="dyncontent">
<div class="center"><img src="../../d8/d70/classProcesadorCGI_a3a5bba2253625feefb897b30e6aac0d3_cgraph.png" border="0" usemap="#d8/d70/classProcesadorCGI_a3a5bba2253625feefb897b30e6aac0d3_cgraph" alt=""/></div>
<map name="d8/d70/classProcesadorCGI_a3a5bba2253625feefb897b30e6aac0d3_cgraph" id="d8/d70/classProcesadorCGI_a3a5bba2253625feefb897b30e6aac0d3_cgraph">
<area shape="rect" id="node3" href="../../d3/da4/classCargardorDeArchivos.html#adcf0834c42d819b6348f5c4410e670fe" title="CargardorDeArchivos::levantarArchivo" alt="" coords="251,5,496,35"/><area shape="rect" id="node5" href="../../dd/d27/classHTTP__Response.html#a112f91fd5f8943b098dc4dfbdbb044f6" title="HTTP_Response::setContenido" alt="" coords="269,59,477,88"/><area shape="rect" id="node7" href="../../d8/dea/classHTTP__Message.html#a1296fe3e16e88dd62d2b464a7e5e4994" title="HTTP_Message::setProtocolo" alt="" coords="275,112,472,141"/><area shape="rect" id="node9" href="../../dd/d27/classHTTP__Response.html#a1c2c8086703ccb9bfd62d4fa8d7babec" title="HTTP_Response::setTipoContenido" alt="" coords="257,165,489,195"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae8059833f03e271777fc87b8e690da55"></a><!-- doxytag: member="ProcesadorCGI::setVariableContentLenght" ref="ae8059833f03e271777fc87b8e690da55" args="(int valor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ProcesadorCGI::setVariableContentLenght </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>valor</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Documentación de los datos miembro</h2>
<a class="anchor" id="a9b868bc2b2d173f0072e43429cad1387"></a><!-- doxytag: member="ProcesadorCGI::config" ref="a9b868bc2b2d173f0072e43429cad1387" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="../../de/dcb/classConfiguracion.html">Configuracion</a>&amp; <a class="el" href="../../d8/d70/classProcesadorCGI.html#a9b868bc2b2d173f0072e43429cad1387">ProcesadorCGI::config</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4f2fd2a65da9c79a16f76776988e810c"></a><!-- doxytag: member="ProcesadorCGI::dir" ref="a4f2fd2a65da9c79a16f76776988e810c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="../../d8/d70/classProcesadorCGI.html#a4f2fd2a65da9c79a16f76776988e810c">ProcesadorCGI::dir</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afa48c81a8c64776c7eb911d3edf6a30c"></a><!-- doxytag: member="ProcesadorCGI::rutaCGI" ref="afa48c81a8c64776c7eb911d3edf6a30c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="../../d8/d70/classProcesadorCGI.html#afa48c81a8c64776c7eb911d3edf6a30c">ProcesadorCGI::rutaCGI</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>La documentación para esta clase fue generada a partir de los siguientes ficheros:<ul>
<li>Mapache/src/servidor/<a class="el" href="../../d0/d9a/ProcesadorCGI_8h.html">ProcesadorCGI.h</a></li>
<li>Mapache/src/servidor/<a class="el" href="../../d6/d3c/ProcesadorCGI_8cpp.html">ProcesadorCGI.cpp</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="../../d8/d70/classProcesadorCGI.html">ProcesadorCGI</a>      </li>
      <li class="footer">Generado el Domingo, 20 de Noviembre de 2011 00:38:06 para Mapache por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
    </ul>
  </div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Clases</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>&apos;defines&apos;</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


</body>
</html>
